import request from '@/utils/request'

// 查询诊室统计
export function listCounterStatistics(query) {
  return request({
    url: '/qbs/counterStatistics/list',
    method: 'get',
    params: query
  })
}

// 查询诊室统计
export function getCounterStatistics(id) {
  return request({
    url: '/qbs/counterStatistics/' + id,
    method: 'get'
  })
}

// 新增诊室统计
export function addCounterStatistics(data) {
  return request({
    url: '/qbs/counterStatistics/save',
    method: 'post',
    data: data
  })
}

// 修改诊室统计
export function editCounterStatistics(data) {
  return request({
    url: '/qbs/counterStatistics/update',
    method: 'put',
    data: data
  })
}

// 删除诊室统计
export function delCounterStatistics(id) {
  return request({
    url: '/qbs/counterStatistics/remove/' + id,
    method: 'delete'
  })
}

// 导出诊室统计
export function exportCounterStatistics(query) {
  return request({
    url: '/qbs/counterStatistics/export',
    method: 'get',
    params: query
  })
}
